package com.tencet.service.Impl;

import com.tencet.dao.EarnDao;
import com.tencet.dao.impl.EarnDaoImpl;
import com.tencet.entity.Earn;
import com.tencet.service.AccountTwoService;
import com.tencet.service.EarnService;

import java.util.List;

public class EarnServiceImpl implements EarnService {
    EarnDao earnDao = new EarnDaoImpl();

    @Override
    public int  addEarn(Earn earn) {
        return earnDao.addList(earn);
    }
}
